package com.nmsl.registration.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 药品信息维护对象 medicine
 * 
 * @author skx
 * @date 2025-02-24
 */
public class skxMedicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long medicineId;

    /** 名称 */
    @Excel(name = "名称")
    private String medicineName;

    /** 规格 */
    @Excel(name = "规格")
    private String medicineSpecification;

    /** 类别 */
    @Excel(name = "类别")
    private Long medicineCategoryId;

    /** 剂型 */
    @Excel(name = "剂型")
    private String medicineDosageFormId;

    /** 采购价 */
    @Excel(name = "采购价")
    private Long purchasePrice;

    /** 售药价 */
    @Excel(name = "售药价")
    private Long retailPrice;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private Long manufacturerId;

    /** 药品状态 */
    @Excel(name = "药品状态")
    private String medicineStatusId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 药品有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "药品有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityPeriod;

    /** 货位号 */
    @Excel(name = "货位号")
    private Long shelfPosition;

    /** 扩展字段1 */
    private String ext1;

    /** 扩展字段2 */
    private String ext2;

    /** 扩展字段3 */
    private String ext3;

    /** 扩展字段4 */
    private String ext4;

    /** 扩展字段5 */
    private String ext5;

    /** 扩展字段6 */
    private String ext6;

    public void setMedicineId(Long medicineId) 
    {
        this.medicineId = medicineId;
    }

    public Long getMedicineId() 
    {
        return medicineId;
    }
    public void setMedicineName(String medicineName) 
    {
        this.medicineName = medicineName;
    }

    public String getMedicineName() 
    {
        return medicineName;
    }
    public void setMedicineSpecification(String medicineSpecification) 
    {
        this.medicineSpecification = medicineSpecification;
    }

    public String getMedicineSpecification() 
    {
        return medicineSpecification;
    }
    public void setMedicineCategoryId(Long medicineCategoryId) 
    {
        this.medicineCategoryId = medicineCategoryId;
    }

    public Long getMedicineCategoryId() 
    {
        return medicineCategoryId;
    }
    public void setMedicineDosageFormId(String medicineDosageFormId) 
    {
        this.medicineDosageFormId = medicineDosageFormId;
    }

    public String getMedicineDosageFormId() 
    {
        return medicineDosageFormId;
    }
    public void setPurchasePrice(Long purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public Long getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setRetailPrice(Long retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public Long getRetailPrice() 
    {
        return retailPrice;
    }
    public void setManufacturerId(Long manufacturerId) 
    {
        this.manufacturerId = manufacturerId;
    }

    public Long getManufacturerId() 
    {
        return manufacturerId;
    }
    public void setMedicineStatusId(String medicineStatusId) 
    {
        this.medicineStatusId = medicineStatusId;
    }

    public String getMedicineStatusId() 
    {
        return medicineStatusId;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setValidityPeriod(Date validityPeriod) 
    {
        this.validityPeriod = validityPeriod;
    }

    public Date getValidityPeriod() 
    {
        return validityPeriod;
    }
    public void setShelfPosition(Long shelfPosition) 
    {
        this.shelfPosition = shelfPosition;
    }

    public Long getShelfPosition() 
    {
        return shelfPosition;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }
    public void setExt6(String ext6) 
    {
        this.ext6 = ext6;
    }

    public String getExt6() 
    {
        return ext6;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medicineId", getMedicineId())
            .append("medicineName", getMedicineName())
            .append("medicineSpecification", getMedicineSpecification())
            .append("medicineCategoryId", getMedicineCategoryId())
            .append("medicineDosageFormId", getMedicineDosageFormId())
            .append("purchasePrice", getPurchasePrice())
            .append("retailPrice", getRetailPrice())
            .append("manufacturerId", getManufacturerId())
            .append("medicineStatusId", getMedicineStatusId())
            .append("creationTime", getCreationTime())
            .append("validityPeriod", getValidityPeriod())
            .append("shelfPosition", getShelfPosition())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .append("ext6", getExt6())
            .toString();
    }
}
